package com.soonfor.evaluate.bean;

import java.util.ArrayList;
import java.util.List;

import com.soonfor.evaluate.tools.CommonUtils;

/**
 * 作者：DC-DingYG on 2018-10-22 10:24
 * 邮箱：dingyg012655@126.com
 */
public class EvaluateTemplateBean {
    private int fifallhighappraise;//是否启用整体好评0.否，1.是
    private int fifsetappraisecontent;//是否启用评价内容0.否，1.是
    private int fifstarlvappraise;//是否启用星级评价0.否，1.是
    private int fifuploadimg;//是否启用上传图片0.否，1.是
    private List<TemplateItemDto> appraisestars;//标签列表

    public int getFifallhighappraise() {
        return fifallhighappraise;
    }

    public void setFifallhighappraise(int fifallhighappraise) {
        this.fifallhighappraise = fifallhighappraise;
    }

    public int getFifsetappraisecontent() {
        return fifsetappraisecontent;
    }

    public void setFifsetappraisecontent(int fifsetappraisecontent) {
        this.fifsetappraisecontent = fifsetappraisecontent;
    }

    public int getFifstarlvappraise() {
        return fifstarlvappraise;
    }

    public void setFifstarlvappraise(int fifstarlvappraise) {
        this.fifstarlvappraise = fifstarlvappraise;
    }

    public int getFifuploadimg() {
        return fifuploadimg;
    }

    public void setFifuploadimg(int fifuploadimg) {
        this.fifuploadimg = fifuploadimg;
    }

    public List<TemplateItemDto> getAppraisestars() {
        return appraisestars == null?new ArrayList<TemplateItemDto>(): appraisestars;
    }

    public void setAppraisestars(List<TemplateItemDto> appraisestars) {
        this.appraisestars = appraisestars;
    }

    /*
     * 评价标签
     */
    public static class TemplateItemDto {
        private int fItemStep;//当前星级
        private int fItemValue;//当前的值
        private String fItemTilte;//当前的标题
        private String fItemDesc;//当前的描述
        private String fappraiseitemid;//评价分类id
        private String fsorttitle;//分类标题
        private String fonedesc;//一星级描述
        private int fonevalue;//一星级value
        private String ftwodesc;//二星级描述
        private int ftwovalue;
        private String fthreedesc;
        private int fthreevalue;
        private String ffourdesc;
        private int ffourvalue;
        private String ffivedesc;
        private int ffivevalue;
        private String remark;

        public int getfItemStep() {
            return fItemStep;
        }

        public void setfItemStep(int fItemStep) {
            this.fItemStep = fItemStep;
        }

        public int getfItemValue() {
            return fItemValue;
        }

        public void setfItemValue(int fItemValue) {
            this.fItemValue = fItemValue;
        }

        public String getfItemTilte() {
            return CommonUtils.formatStr(fItemTilte);
        }

        public void setfItemTilte(String fItemTilte) {
            this.fItemTilte = fItemTilte;
        }

        public String getfItemDesc() {
            return CommonUtils.formatStr(fItemDesc);
        }

        public void setfItemDesc(String fItemDesc) {
            this.fItemDesc = fItemDesc;
        }

        public String getFappraiseitemid() {
            return CommonUtils.formatStr(fappraiseitemid);
        }

        public void setFappraiseitemid(String fappraiseitemid) {
            this.fappraiseitemid = fappraiseitemid;
        }

        public String getFsorttitle() {
            return CommonUtils.formatStr(fsorttitle);
        }

        public void setFsorttitle(String fsorttitle) {
            this.fsorttitle = fsorttitle;
        }

        public String getFivedesc() {
            return ffivedesc == null ? "" : ffivedesc;
        }

        public void setFivedesc(String fivedesc) {
            this.ffivedesc = fivedesc;
        }

        public int getFivevalue() {
            return ffivevalue;
        }

        public void setFivevalue(int fivevalue) {
            this.ffivevalue = fivevalue;
        }

        public String getFourdesc() {
            return ffourdesc == null ? "" : ffourdesc;
        }

        public void setFourdesc(String fourdesc) {
            this.ffourdesc = fourdesc;
        }

        public int getFourvalue() {
            return ffourvalue;
        }

        public void setFourvalue(int fourvalue) {
            this.ffourvalue = fourvalue;
        }

        public String getThreedesc() {
            return fthreedesc == null ? "" : fthreedesc;
        }

        public void setThreedesc(String threedesc) {
            this.fthreedesc = threedesc;
        }

        public int getThreevalue() {
            return fthreevalue;
        }

        public void setThreevalue(int threevalue) {
            this.fthreevalue = threevalue;
        }

        public String getTwodesc() {
            return ftwodesc == null ? "" : ftwodesc;
        }

        public void setTwodesc(String twodesc) {
            this.ftwodesc = twodesc;
        }


        public int getTwovalue() {
            return ftwovalue;
        }

        public void setTwovalue(int twovalue) {
            this.ftwovalue = twovalue;
        }

        public String getOnedesc() {
            return fonedesc == null ? "" : fonedesc;
        }

        public void setOnedesc(String onedesc) {
            this.fonedesc = onedesc;
        }

        public int getOnevalue() {
            return fonevalue;
        }

        public void setOnevalue(int onevalue) {
            this.fonevalue = onevalue;
        }
    }

}
